<?php



class ConferenceMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.ConferenceMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('propel');

		$tMap = $this->dbMap->addTable('conf_conference');
		$tMap->setPhpName('Conference');

		$tMap->setUseIdGenerator(true);

		$tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('NAME', 'Name', 'string', CreoleTypes::LONGVARCHAR, true, null);

		$tMap->addColumn('DESCRIPTION', 'Description', 'string', CreoleTypes::LONGVARCHAR, true, null);

		$tMap->addColumn('DATE_START', 'DateStart', 'int', CreoleTypes::TIMESTAMP, true, null);

		$tMap->addColumn('DATE_END', 'DateEnd', 'int', CreoleTypes::TIMESTAMP, true, null);

		$tMap->addColumn('REGISTRATION_DEADLINE', 'RegistrationDeadline', 'int', CreoleTypes::TIMESTAMP, true, null);

		$tMap->addColumn('REGISTRATION_EARLY_DEADLINE', 'RegistrationEarlyDeadline', 'int', CreoleTypes::TIMESTAMP, true, null);

		$tMap->addColumn('IS_ACTIVE', 'IsActive', 'boolean', CreoleTypes::BOOLEAN, true, null);

		$tMap->addColumn('MEMBER_FEE_FULL', 'MemberFeeFull', 'double', CreoleTypes::DOUBLE, false, null);

		$tMap->addColumn('MEMBER_FEE_FULL_EARLY', 'MemberFeeFullEarly', 'double', CreoleTypes::DOUBLE, false, null);

		$tMap->addColumn('MEMBER_FEE_DAILY', 'MemberFeeDaily', 'double', CreoleTypes::DOUBLE, false, null);

		$tMap->addColumn('MEMBER_FEE_DAILY_EARLY', 'MemberFeeDailyEarly', 'double', CreoleTypes::DOUBLE, false, null);

		$tMap->addColumn('NONMEMBER_FEE_FULL', 'NonmemberFeeFull', 'double', CreoleTypes::DOUBLE, false, null);

		$tMap->addColumn('NONMEMBER_FEE_FULL_EARLY', 'NonmemberFeeFullEarly', 'double', CreoleTypes::DOUBLE, false, null);

		$tMap->addColumn('NONMEMBER_FEE_DAILY', 'NonmemberFeeDaily', 'double', CreoleTypes::DOUBLE, false, null);

		$tMap->addColumn('NONMEMBER_FEE_DAILY_EARLY', 'NonmemberFeeDailyEarly', 'double', CreoleTypes::DOUBLE, false, null);

		$tMap->addColumn('FEE_CANCEL', 'FeeCancel', 'double', CreoleTypes::DOUBLE, false, null);

		$tMap->addColumn('CREATED_AT', 'CreatedAt', 'int', CreoleTypes::TIMESTAMP, false, null);

	} 
} 